package com.dubbo.CarBalance.mapper;

import com.dubbo.model.balance.dtos.AccountAccessoriesDto;
import com.dubbo.model.balance.dtos.AccountAccessoriesPayDto;
import com.dubbo.model.balance.pojos.AccountAccessories;
import com.dubbo.model.balance.pojos.AccountFacilitator;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AccountFacilitatorMapper {

    List<AccountFacilitator> selectPage(AccountAccessoriesDto dto);

    @Select("select * from account_facilitator where account_id = #{id}")
    AccountFacilitator findById(@Param("id") String id);

    List<AccountFacilitator> findByCustomerId(AccountAccessoriesPayDto dto);
}
